package com.moch.demo;

public class Test {

    public static void main(String[] args) {
        check(Nnv.BOY);

    }

    public static void check(Nnv sex) {

        switch (sex) {
            case BOY:
                System.out.println("男的");
                break;
            case GIRL:
                System.out.println("女的");
                break;
        }
    }
}
